package cn.ecnu.service;


import cn.ecnu.pojo.Journal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface JournalService extends IService<Journal> {
    List<Journal> getTop10JournalsByViews();
    List<Journal> getTop10JournalsByFollows();
    void incrementViews(Long id);
    void incrementFollows(Long id);
    void decrementFollows(Long id);
}

